package edu.sctu.zhoumengxue.day201506.day20150602;

/**
 * Created by user12 on 2015/6/7.
 */
public class Monitor {

    public void is_Thief() {

        Thief thief = new Thief();
        thief.setAction("偷东西");
        if (thief.getAction().equals("偷东西")) {

            System.out.println("有小偷偷东西，进行逮捕");
        } else {
            System.out.println("没有小偷，很安全");
        }

    }
}
